import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Home from '@/components/home'
import About from '@/components/about'
import Func1 from '@/components/func1'

Vue.use(Router)

export default new Router({
  routes: [
    { path: '/hello', component: HelloWorld },
    { path: '/home', component: Home },
    { path: '/about', component: About },
    { path: '/func1', component: Func1 }
  ]
})
